﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Banner.ascx.cs" Inherits="HomeDemo_Banner" %>


<script type="text/javascript">

    function getUrl(url) {
        var index = url.lastIndexOf("/");
        var paramIndex = url.lastIndexOf("?");
        if (paramIndex != -1) {
            url = url.substring(index + 1, paramIndex);
        }
        else {
            url = url.substr(index + 1);
        }
        return url;
    }

    function initBanner() {
        var $allLis = $("#navigation>ul>li");
        var fileUrl = getUrl(document.location.href).toLowerCase();
        for (var i = 0; i < $allLis.length; i++) {
            var li = $allLis[i];
            var $li = $(li);
            $alllinks = $li.find("a[href!=#]");
            var str = "";
            for (var j = 0; j < $alllinks.length; j++) {
                var $link = $($alllinks[j]);
                var url = $link.attr("href");
                url = getUrl(url).toLowerCase();
                if (fileUrl == url) {
                    $li.addClass(" parent level0 active");
                    return;
                }
            }
        }


    }

    $(function () {
        initBanner();
    })

</script>

<style type="text/css">
    .myhide {
        display: none;
    }
</style>
<div class="header" id="header">
    <div class="header-top">
        <a href="<%=WebUtility.GetUrl("~/index.aspx")%>">

            <p style="float: left; line-height: 40px; font-size: 21px; color: #2e2e2e; float: left; padding-left: 15px; text-transform: uppercase;">
                <%= SectionProxyData.GetSetValue(2) %>
            </p>

            <img src='<%=ResolveClientUrl("~/images/logo.png")%>' class="logo" style="height: 49px; display: none;" />



        </a>
        <div class="header-right">
            <p class="super">
                欢迎回来，<a href='<%=ResolveClientUrl("~/Admin/Permission/updateadmin.aspx") %>'><span id="snUsername" runat="server"></span></a><span class="separator">|</span><a href='<%=ResolveClientUrl("~/Admin/login.aspx?out=1") %>'>
                    <strong>退出</strong></a>
            </p>

        </div>
    </div>
    <div class="clear">
    </div>
    <!-- menu start -->
    <div class="nav-bar" id="navigation">
        <ul id="nav">
            <li onmouseover="objectAddClass(this,'over')" onmouseout="objectRemoveClass(this,'over')"
                class="parent level0"><a href='<%=WebUtility.GetUrl("~/admin/basic.aspx")%>'><span>系统首页</span>
                </a></li>



            <li onmouseover="objectAddClass(this,'over')" onmouseout="objectRemoveClass(this,'over')"
                class="parent level0" id="head_div3"><a href='#'><span>订单管理</span></a>
                <ul>

                    <li class=" level2"><a href='<%=WebUtility.GetUrl("~/admin/Shop/OrderList.aspx")%>'
                        class=""><span>订单列表</span></a></li>

                    <li class=" level2"><a href='<%=WebUtility.GetUrl("~/admin/Shop/historyOrderList.aspx")%>'
                        class=""><span>历史订单</span></a></li>





                    <li class=" level2"><a href='/Admin/Service/OrderDelive.aspx'
                        class=""><span>订单调度</span></a></li>
                    <li class="  level2"><a href="<%=WebUtility.GetUrl("~/Admin/Shop/delOrders.aspx")%>"
                        id="A1"><span>订单回收站</span></a></li>
                    <li class=" level2 "><a href='<%=WebUtility.GetUrl("~/admin/Shop/orderlog.aspx")%>'
                        class=""><span>订单状态操作日志</span></a></li>

                    <li class=" level2 "><a href='<%=WebUtility.GetUrl("~/admin/Shop/orderoploglist.aspx")%>'
                        class=""><span>订单操作日志</span></a></li>


                     <li class=" level2 "><a href='<%=WebUtility.GetUrl("~/admin/Shop/ShopReviewList.aspx")%>'
                                class=""><span>订单评论</span></a></li>


                    <li class=" level2 "><a href='<%=WebUtility.GetUrl("~/admin/Shop/orderimport.aspx")%>'
                        class=""><span>订单导入</span></a></li>

                   <li class=" level2 "><a href='<%=WebUtility.GetUrl("~/admin/Shop/ordereleimport.aspx")%>'
                                class=""><span>平台对接</span></a></li>


                             <li class=" level2 "><a href='<%=WebUtility.GetUrl("~/admin/Shop/OrdereleList.aspx")%>'
                                class=""><span>平台管理</span></a></li>



                <li class=" level2 "><a href='<%=WebUtility.GetUrl("~/Admin/Service/fastaddorder.aspx")%>'
                                class=""><span>一键下单</span></a></li>



                    <li class=" level2 last"><a href='<%=WebUtility.GetUrl("~/Admin/Service/OrderCrm.aspx")%>'
                        class=""><span>客服下单</span></a></li>

                </ul>
            </li>

            <li onmouseover="objectAddClass(this,'over')" onmouseout="objectRemoveClass(this,'over')"
                class="parent level0" id="head_div1"><a href='#'><span>商家管理</span></a>
                <ul>
                    <li class="level2  "><a href="<%=WebUtility.GetUrl("~/Admin/Shop/ShopDetail.aspx")%>"
                        id="A1"><span>新增商家</span></a></li>
                    <li class="  level2"><a href="<%=WebUtility.GetUrl("~/admin/Shop/ShopList.aspx")%>"
                        id="A1"><span>商家列表</span></a></li>

                    <li class="  level2"><a href="<%=WebUtility.GetUrl("~/admin/Shop/shopdatalist.aspx")%>"
                        id="A1"><span>商家分类</span></a></li>
                   
                    
                    <li class="  level2"><a href="<%=WebUtility.GetUrl("~/Admin/Shop/piclist.aspx")%>"><span>商家标签</span></a></li>




                     <li class="  level2"><a href="<%=WebUtility.GetUrl("~/admin/Shop/runshopdatalist.aspx")%>"
                        id="A1"><span>跑腿分类</span></a></li>



                    <li class=" level1" style="display: none;"><a href='<%=WebUtility.GetUrl("~/Admin/Shop/feerule.aspx")%>'
                        class=""><span>产值对比</span></a></li>
                    <li class="last  level2"><a href="<%=WebUtility.GetUrl("~/Admin/Shop/delShopList.aspx")%>"
                        id="A1"><span>商家回收站</span></a></li>
                </ul>
            </li>



            <li onmouseover="objectAddClass(this,'over')" onmouseout="objectRemoveClass(this,'over')"
                class="parent level0" id="head_div2"><a href='#'><span>会员管理</span></a>
                <ul>

                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/admin/user/UserList.aspx")%>'
                        class=""><span>会员管理</span></a></li>


                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/admin/user/SMSmarketing.aspx")%>'
                        class=""><span>短信营销</span></a></li>


                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/Admin/User/UserAddMoneyLog.aspx")%>'
                        class=""><span>充值记录</span></a></li>
                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/Admin/User/UserDelMoneyLog.aspx")%>'
                        class=""><span>消费记录</span></a></li>
                    <li class="level1 last"><a href='<%=WebUtility.GetUrl("~/Admin/user/pointrecordlist.aspx")%>'
                        class=""><span>积分记录</span></a></li>

                </ul>
            </li>



            <li onmouseover="objectAddClass(this,'over')" onmouseout="objectRemoveClass(this,'over')"
                class="   parent level0"><a href="#" onclick="return false"><span>配送员管理</span></a>
                <ul>

                    <li class="level1"><a href='<%=WebUtility.GetUrl("~/admin/manage/DeliverDetail.aspx")%>'
                        class=""><span>添加配送员</span></a></li>

                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/admin/manage/DeliverList.aspx")%>'
                        class=""><span>配送员管理</span></a></li>


                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/admin/manage/DeliverGroupList.aspx")%>'
                        class=""><span>配送员群组管理</span></a></li>

                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/admin/manage/attendancelist.aspx")%>'
                        class=""><span>配送员考勤记录</span></a></li>

                    <li class="level1"><a href='<%=WebUtility.GetUrl("~/admin/manage/Deliveroploglist.aspx")%>'
                        class=""><span>配送员操作日志</span></a></li>


                    <li class="level1"><a href='<%=WebUtility.GetUrl("~/admin/manage/delDeliverList.aspx")%>'
                        class=""><span>配送员回收站</span></a></li>
                    <li class="last level1"><a href='<%=WebUtility.GetUrl("~/Admin/Service/locationmonitor.aspx")%>'
                        class=""><span>查看商家配送员位置</span></a></li>


                </ul>
            </li>



            <li onmouseover="objectAddClass(this,'over')" onmouseout="objectRemoveClass(this,'over')"
                class="parent level0" id="head_div9"><a href='#'><span>权限管理</span></a>
                <ul>
                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/Admin/Permission/AdminList.aspx") %>'
                        class=""><span>用户管理</span></a></li>
                    <%--<li class=" level1"><a href='<%=WebUtility.GetUrl("~/Admin/Permission/Modulelist.aspx") %>'
                        class=""><span>模块管理</span></a></li>
                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/Admin/Permission/moduledetail.aspx") %>'
                        class=""><span>添加模块</span></a></li>--%>


                    <li class="last level1"><a href='<%=WebUtility.GetUrl("~/Admin/Permission/rolelist.aspx") %>'
                        class=""><span>角色管理</span></a></li>
                </ul>
            </li>



            <li onmouseover="objectAddClass(this,'over')" onmouseout="objectRemoveClass(this,'over')"
                class="   parent level0" id="head_div11"><a href="#" onclick="return false" class=""><span>财务统计</span></a>
                <ul>

                    <li class=" level1 "><a href='<%=WebUtility.GetUrl("~/Admin/ShopData/deliversettle.aspx") %>'
                        class=""><span>配送员收款</span></a></li>


                    <li class=" level1 "><a href='<%=WebUtility.GetUrl("~/Admin/ShopData/commpanycash.aspx") %>'
                        class=""><span>公司财务收款</span></a></li>



                    <li class="  level1"><a href='<%=WebUtility.GetUrl("~/Admin/ShopData/UserAddMoneyLog.aspx")%>'
                        class=""><span>费用明细</span></a> </li>


                    <li class="level1"><a href='<%=WebUtility.GetUrl("~/admin/ShopData/UserAddMoneyLog.aspx?delflag=1")%>'
                        class=""><span>费用明细回收站</span></a></li>


                    <li class=" level1 "><a href='<%=WebUtility.GetUrl("~/Admin/ShopData/shopnosettle.aspx") %>'
                        class=""><span>未结算商家</span></a></li>


                    <li class=" level1 "><a href='<%=WebUtility.GetUrl("~/Admin/ShopData/shopsettle.aspx") %>'
                        class=""><span>商家对账</span></a></li>

                     <li class=" level1 "><a href='<%=WebUtility.GetUrl("~/Admin/ShopData/weixordershopsettle.aspx") %>'
                        class=""><span>商家对账(微信订单)</span></a></li>



                    <li class=" last level1 "><a href='<%=WebUtility.GetUrl("~/Admin/ShopData/Deliversarly.aspx") %>'
                        class=""><span>配送员薪资结算</span></a></li>




                </ul>
            </li>
            <li onmouseover="objectAddClass(this,'over')" onmouseout="objectRemoveClass(this,'over')"
                class="   parent level0"><a href="#" onclick="return false"><span>数据分析</span></a>
                <ul>

                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/Admin/DataAnalysis/DeliverOutputValue.aspx")%>'
                        class=""><span>产值对比</span></a></li>
                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/admin/DataAnalysis/Deliverordersum.aspx")%>'
                        class=""><span>配送员统计</span></a></li>
                    <li class=" level1 "><a href='<%=WebUtility.GetUrl("~/Admin/DataAnalysis/shopordersum.aspx") %>'
                        class=""><span>商家统计</span></a></li>


                    <li class=" level1 "><a href='<%=WebUtility.GetUrl("~/Admin/DataAnalysis/marketadminsum.aspx") %>'
                        class=""><span>市场部统计</span></a></li>


                    <li class=" level1 "><a href='<%=WebUtility.GetUrl("~/Admin/DataAnalysis/groupordersum.aspx") %>'
                        class=""><span>分站统计</span></a></li>


                     <li class=" level1 "><a href='<%=WebUtility.GetUrl("~/Admin/DataAnalysis/cityordersum.aspx") %>'
                                class=""><span>城市统计</span></a></li>


                    <li class=" level1 "><a href='<%=WebUtility.GetUrl("~/Admin/DataAnalysis/damageRecordSum.aspx") %>'
                        class=""><span>损单统计</span></a></li>



                    <li class=" level2 "><a href='<%=WebUtility.GetUrl("~/admin/DataAnalysis/webStatisticsYear.aspx")%>'
                        class=""><span>订单统计</span></a></li>
                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/Admin/DataAnalysis/shopTOP10.aspx")%>'
                        class=""><span>商家销量TOP10</span></a></li>

                    <li class=" level1"><a href='<%=WebUtility.GetUrl("~/Admin/DataAnalysis/timeorder.aspx")%>'
                        class=""><span>订单时间分布</span></a></li>
                    <li class="last level1"><a href='<%=WebUtility.GetUrl("~/Admin/DataAnalysis/ordersource.aspx")%>'
                        class=""><span>订单来源分布</span></a></li>
                </ul>
            </li>


            <li onmouseover="objectAddClass(this,'over')" onmouseout="objectRemoveClass(this,'over')"
                class="parent level0"><a href="javascript:" onclick="return false"><span>物料管理</span></a>
                <ul>

                    <li class="  level1"><a href='<%=WebUtility.GetUrl("~/Admin/device/deviceList.aspx")%>'
                        class=""><span>物料管理</span></a> </li>

                    <li class="  level1"><a href='<%=WebUtility.GetUrl("~/Admin/device/inStorageorder.aspx")%>'
                        class=""><span>物料入库</span></a> </li>

                    <li class="  level1"><a href='<%=WebUtility.GetUrl("~/Admin/device/outStorageorder.aspx")%>'
                        class=""><span>物料出库</span></a> </li>
                    <li class="  level1"><a href='<%=WebUtility.GetUrl("~/Admin/device/shopdatalist_brand.aspx")%>'
                        class=""><span>物料分类管理</span></a> </li>
                    <li class="   level1"><a href='<%=WebUtility.GetUrl("~/Admin/device/freehiftslist.aspx") %>'
                        class=""><span>物料单位管理</span></a></li>
                    <li class="last  level1"><a href='<%=WebUtility.GetUrl("~/Admin/device/devicespan.aspx")%>'
                        class=""><span>物料分布</span></a></li>
                </ul>
            </li>
            <li onmouseover="objectAddClass(this,'over')" onmouseout="objectRemoveClass(this,'over')"
                class="parent level0" id="head_div8"><a href="javascript:" onclick="return false"><span>网站参数设置</span></a>
                <ul>
                    <li class="   level1"><a href="<%=WebUtility.GetUrl("~/admin/manage/setweixin.aspx")%>"
                        id="A9"><span>微信公众平台帐号</span></a></li>
                    <li class="   level1"><a href='<%=WebUtility.GetUrl("~/Admin/manage/citylist.aspx") %>'
                        class=""><span>城市管理</span></a></li>


                    <li class="   level1"><a href="<%=WebUtility.GetUrl("~/admin/manage/promotionshareconfig.aspx")%>"
                        id="A9"><span>分享促销配置</span></a></li>

                    <li class="  level1"><a href='<%=WebUtility.GetUrl("~/Admin/manage/PptList.aspx")%>'
                        class=""><span>幻灯片管理</span></a></li>


                    <li class="  level1"><a href='<%=WebUtility.GetUrl("~/Admin/manage/STemplatelist.aspx?id=1")%>'
                        class=""><span>商家发单备注管理</span></a> </li>

                     <li class="  level1"><a href='<%=WebUtility.GetUrl("~/Admin/manage/shoprechargeconfig.aspx?")%>'
                        class=""><span>商家充值配置</span></a> </li>



                    <li class="  level1"><a href='<%=WebUtility.GetUrl("~/Admin/manage/sysaccounts.aspx")%>'
                        class=""><span>费用科目管理</span></a> </li>
                    
                    
                    <li class="  level1"><a href='<%=WebUtility.GetUrl("~/Admin/manage/webaccounts.aspx")%>'
                        class=""><span>账户管理</span></a> </li>



                    <li class="last  level1"><a href='<%=WebUtility.GetUrl("~/Admin/manage/WebBasic.aspx")%>'
                        class=""><span>系统设置</span></a></li>
                </ul>
            </li>


        </ul>
    </div>
    <!-- menu end -->
</div>
<asp:HiddenField runat="server" ID="hfroles" />
